<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
		<style type="text/css">
		.box{
			width:200px;
			height:200px;
			background:green;
		}	
		</style>
		<script src="./vue.js" ></script>
	</head>
	<body>
		<div id="app">
			<input type="checkbox" v-model="statue" />
			<div v-if="statue" class="box"></div>
			<p v-else>隐藏了</p>
		</div>
		<script type="text/javascript">
			var vm = new Vue({
				el:"#app",
				data:{
					statue:false
				}
			})
		</script>
	</body>
</html>
